
function show(n)
{
    if(n == 1)
    {
        return 1;
    }else
    {
        return show ( n - 1) + n;
    }
   
    
}
      
var result = show(100);
console.log(result);